// var TN_Widget = function() { var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; return { newWindow : true, CreateEventRow : function(row, isAlt) { var t = row[4].split("/"); t[0] = months[t[0]]; t[2] = ", " + t[2]; return "

" + t[0] + " " + "" + t[1] + "" + t[2] + "

" + row[3].substring(0,3) + " " + row[5] + "

" + row[0] + "

" + row[1] + " - " + row[2] + "

" + this.btnText + "" + ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kwds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; var footerLink = "" + this.footerText + ""; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else if(document.querySelector(".tnpl_results_container") != null) { document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
"; } else document.write("
" + newTable.join('') + "" + footerLink + "
"); } }; }(); //BPW-TNSERV-03B TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css'); TN_Widget.CreateTable([['Chris Janson','Gold Country Casino','Oroville, CA','Friday','5/3/2024','8:00 PM','6195992','Chris-Janson-5-3-2024'],['Opry Country Classics: The Gatlin Brothers, Chris Janson & Jamey Johnson','Grand Ole Opry House','Nashville, TN','Thursday','5/9/2024','7:00 PM','6263702','Opry-Country-Classics--The-Gatlin-Brothers--Chris-Janson---Jamey-Johnson-5-9-2024'],['Chris Janson','New Barn Theatre','Mount Vernon, KY','Friday','5/10/2024','8:00 PM','6245111','Chris-Janson-5-10-2024'],['Chris Janson & Easton Corbin','Showplace Theatre At Riverwind Casino','Norman, OK','Saturday','5/25/2024','6:00 PM','6278518','Chris-Janson---Easton-Corbin-5-25-2024'],['Chris Janson','Capital Region MU Health Care Amphitheater','Jefferson City, MO','Sunday','5/26/2024','7:30 PM','6267305','Chris-Janson-5-26-2024'],['Chris Janson','Haute Spot','Cedar Park, TX','Thursday','5/30/2024','6:00 PM','6308676','Chris-Janson-5-30-2024'],['The Country Fest: Lainey Wilson, Cody Johnson & Thomas Rhett - 4 Day Pass','Clay's Park Resort','North Lawrence, OH','Wednesday','6/12/2024','TBD','5948391','The-Country-Fest--Lainey-Wilson--Cody-Johnson---Thomas-Rhett---4-Day-Pass-6-12-2024'],['The Country Fest: Chris Janson & Chase Matthew - Wednesday','Clay's Park Resort','North Lawrence, OH','Wednesday','6/12/2024','11:00 AM','5948392','The-Country-Fest--Chris-Janson---Chase-Matthew---Wednesday-6-12-2024'],['Chris Janson','Venue Thirty Eight','London, OH','Saturday','6/15/2024','5:00 PM','6159289','Chris-Janson-6-15-2024'],['Taste of Country Music Festival: Old Dominion, Jon Pardi, Chris Janson & Chayce Beckham','Sahlen Field','Buffalo, NY','Friday','6/21/2024','5:15 PM','6219088','Taste-of-Country-Music-Festival--Old-Dominion--Jon-Pardi--Chris-Janson---Chayce-Beckham-6-21-2024']],'"Chris Janson"','https://www.ticketnetwork.com');